package com.dsy.xiangcun_index.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dsy.tools.common.utils.QueryObj;
import com.dsy.tools.entity.TbFood;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dsy
 * @since 2023-03-06
 */
public interface ITbFoodService extends IService<TbFood> {
    IPage<TbFood> getAllFood(long page, long limit, QueryWrapper<QueryObj> wrapper);

    TbFood getFoodById(Integer foodId);

    List<TbFood> getIndexFoodList();
}
